package net.oschina.archx.spring.mybatis.dao;

import net.oschina.archx.spring.mybatis.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * UserMapper
 *
 * @author Archx
 * @date 2015/7/1 0001
 */
@Repository
public interface UserMapper {

    int create(User user);

    List<User> findAll();
}
